Generate or edit an image with FLUX.2 [klein] 9B
Submits an image generation or editing task with FLUX.2 [klein] 9B. Sub-second inference with open weights, balancing quality and speed.
Authorizations
Body
Input model for FLUX.2 Klein (non-base) - like Pro but max 4 images.
Text prompt for image generation.
"ein fantastisches bild"
Opaque identifier for the end user supplied by the calling platform.
1 - 256Path to the input image.
Path to the second input image.
Path to the third input image.
Path to the fourth input image.
Optional seed for reproducibility.
42
Width of the image
x >= 64Height of the image
x >= 64Harm moderation tolerance from 0 to 7, with 0 the strictest. The route and organization determine the approved maximum and per-category ceilings. Unapproved levels return 422 with approved levels.
0 <= x <= 7jpeg, png, webp URL to receive webhook notifications
1 - 2083Optional secret for webhook signature verification

